package com.king.springcloud.service;

import com.king.springcloud.entities.PaymentEntity;
import org.apache.ibatis.annotations.Param;

/**
 * 支付
 * @author king
 * @data 2020/7/29 13:52
 */
public interface PaymentService {

    /**
     * 新增
     * @param paymentEntity 支付实体类
     * @return 结果
     */
    int create(PaymentEntity paymentEntity);

    /**
     * 查询
     * @param id 流水号
     * @return 结果
     */
    PaymentEntity getPaymentById(@Param("id") Long id);
}
